using System;
using System.Collections.Generic;
using System.Text;
using DevExpress.Persistent.Base;
using DevExpress.ExpressApp.Actions;
using DevExpress.Xpo;

namespace FeatureCenter.Module.Actions {

	public class ParametrizedActionValueTypeStringController : ActionBaseController {
		public ParametrizedActionValueTypeStringController() {
			ParametrizedAction parametrizedAction = new ParametrizedAction(this, "StringValue", PredefinedCategory.Edit, typeof(string));
			parametrizedAction.ToolTip = ActionsDemoStrings.StringValueTooltip;
			parametrizedAction.Execute += new ParametrizedActionExecuteEventHandler(ParametrizedActionRootObject.parametrizedAction_Execute);
		}
	}

	public class ParametrizedActionValueTypeDateTimeController : ActionBaseController {
		public ParametrizedActionValueTypeDateTimeController() {
			ParametrizedAction parametrizedAction = new ParametrizedAction(this, "DateTimeValue", PredefinedCategory.Edit, typeof(DateTime));
			parametrizedAction.ToolTip = ActionsDemoStrings.DateTimeValueTooltip;
			parametrizedAction.Execute += new ParametrizedActionExecuteEventHandler(ParametrizedActionRootObject.parametrizedAction_Execute);
		}
	}

	public class ParametrizedActionValueTypeIntController : ActionBaseController {
		public ParametrizedActionValueTypeIntController() {
			ParametrizedAction parametrizedAction = new ParametrizedAction(this, "IntValue", PredefinedCategory.Edit, typeof(int));
			parametrizedAction.ToolTip = ActionsDemoStrings.IntegerValueTooltip;
			parametrizedAction.Execute += new ParametrizedActionExecuteEventHandler(ParametrizedActionRootObject.parametrizedAction_Execute);
		}
	}


}
